Carbon


GetNewWindow

Header: MacWindows.h Carbon status: Supported

Creates a new monochrome window from a window resource.

WindowRef GetNewWindow (
    SInt16 windowID, 
    void *wStorage, 
    WindowRef behind
);
DISCUSSION

The GetNewWindow function was originally implemented prior to Color QuickDraw. In Mac OS 8, you should call the Color QuickDraw function GetNewCWindow instead of GetNewWindow to programmatically create a window, because Color QuickDraw is always available in Mac OS 8. Use of this function is not recommended with Mac OS 8 and later.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)